package com.zjgsu.service;/*
Author: Wangkai
Date: 2018-04-10 21:51
Description: 
*/

import com.zjgsu.dao.UserDAO;
import com.zjgsu.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserDAO userDAO;
    public User checkUser(String username, String password) {
        User user = userDAO.selectUser(username,password);
        return user;
    }
}
